//
//  HLMineHeaderView.h
//  YueYue
//
//  Created by hulu001 on 2023/5/19.
//

#import <UIKit/UIKit.h>
#import "HLBalanceModel.h"

NS_ASSUME_NONNULL_BEGIN

@class HLMineHeaderToolsItemView;
@interface HLMineHeaderInfoView : UIView

@property (nonatomic, strong) UIImageView *avatarView;
@property (nonatomic, strong) UITapGestureRecognizer *avatarTap;
@property (nonatomic, strong) QMUIButton *previewButton;
@property (nonatomic, strong) UIView *contentView;

@property (nonatomic, strong) UIStackView *toolView;
@property (nonatomic, strong) HLMineHeaderToolsItemView *fansView;
@property (nonatomic, strong) HLMineHeaderToolsItemView *friendView;
@property (nonatomic, strong) HLMineHeaderToolsItemView *followView;

@property (nonatomic, strong) UILabel *nicknameLabel;
@property (nonatomic, strong) QMUIButton *idView;
@property (nonatomic, strong) QMUIButton *idCopyButton;
@property (nonatomic, strong) QMUILabel *signLabel;
@property (nonatomic, strong) QMUIFloatLayoutView *labelsView;
@property (nonatomic, strong) QMUIButton *vipView;

@end


@interface HLMineHeaderToolsItemView : UIView

@property (nonatomic, strong) UIImageView *avatarView;
@property (nonatomic, strong) QMUIGridView *avatarsView;
@property (nonatomic, strong) UILabel *nameLabel;
@property (nonatomic, strong) UILabel *numLabel;
@property (nonatomic, strong) UILabel *tipLabel;
@property (nonatomic, strong) UITapGestureRecognizer *itemTapGesture;

@end

@interface HLMineHeaderIncomeView: UIView
@property (nonatomic, strong) UIImageView *backView;
@property (nonatomic, strong) UIImageView *iconView;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UILabel *amountLabel;
@property (nonatomic, strong) QMUIButton *rechargeButton;
@property (nonatomic, strong) UIImageView *adView;
@property (nonatomic, strong) HLBalanceModel *model;
@end

@interface HLMineHeaderVipView : UIView

@property (nonatomic, strong) UIImageView *iconView;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) QMUIButton *openButton;
@property (nonatomic, strong) UITapGestureRecognizer *tapGesture;

@end


@interface HLMineHeaderView : UITableViewHeaderFooterView

@property (nonatomic, strong) HLMineHeaderInfoView *infoView;
@property (nonatomic, strong) HLMineHeaderVipView *vipView;
@property (nonatomic, strong) HLMineHeaderIncomeView *incomeView;
@property (nonatomic, strong) HLUserInfoModel *model;

+ (NSString *)identifyCell;

@end

NS_ASSUME_NONNULL_END
